//
//  LoginViewController.h
//  HotWord
//
//  Created by Rainbow on 7/23/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LoginViewController : UIViewController<UITextViewDelegate, UIGestureRecognizerDelegate,UIPickerViewDelegate, UIPickerViewDataSource>
{
    BOOL _isLogin;
    UITextField *_activeTextField;
    BOOL _isPickerShowing;
}

@property (retain, nonatomic) IBOutlet UIButton *backBtn;
@property (retain, nonatomic) IBOutlet UIButton *switchModeBtn;
@property (retain, nonatomic) IBOutlet UIScrollView *containerScrollView;
@property (retain, nonatomic) IBOutlet UIView *LoginView;
@property (retain, nonatomic) IBOutlet UITextField *loginUsernameTextField;
@property (retain, nonatomic) IBOutlet UITextField *loginPasswordTextField;
@property (retain, nonatomic) IBOutlet UIView *registerView;
@property (retain, nonatomic) IBOutlet UITextField *registerEmailTextField;
@property (retain, nonatomic) IBOutlet UITextField *registerNicknameTextField;
@property (retain, nonatomic) IBOutlet UITextField *registerPasswordTextField;
@property (retain, nonatomic) IBOutlet UITextField *registerPasswordConfirmTextField;
@property (retain, nonatomic) IBOutlet UITableView *loginBackgroundTableView;
@property (retain, nonatomic) IBOutlet UITableView *registerBackgroundTableView;
@property (retain, nonatomic) IBOutlet UIView *pickContainerView;
@property (retain, nonatomic) IBOutlet UIPickerView *identitySelectPicker;
@property (retain, nonatomic) IBOutlet UIButton *identityBtn;

- (IBAction)tapOnBackBtn:(id)sender;
- (IBAction)tapOnSwitchBtn:(id)sender;
- (IBAction)tapOnLoginBtn:(id)sender;
- (IBAction)tapOnRegisterBtn:(id)sender;
- (IBAction)tapOnCancelBtn:(id)sender;
- (IBAction)tapOnConfirmBtn:(id)sender;

@end
